package com.test.springcloudalibaba;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * @Desc
 * 有的时候，我们对于同一通道中的消息处理，会通过判断头信息或者消息内容来做一些差异化处理
 * ----------------
 * @CLASS_NAME: RouteApplication
 * ----------------
 * @Author jovi
 * ----------------
 * @Date 2020-04-02 11:30
 */
@EnableBinding(TestTopic.class)
@SpringBootApplication
public class RouteApplication {

    public static void main(String[] args) {
        SpringApplication.run(RouteApplication.class, args);
    }
}
